let arr = [true, false, 1, 2, 3, true, '勒布朗詹姆斯','死神KD','23',666,undefined,]
console.log(Array.from(new Set(arr)));